package com.iuhao.web.test;

import java.util.Arrays;
import java.util.Comparator;

import static javax.swing.text.html.parser.DTDConstants.NAMES;

/**
 * Created by yanhao on 2017/12/4.
 */
public class ListCompare {
    public static void main(String[] args) {
       /* copy = Arrays.copyOf(NAMES, NAMES.length);
        comp = Comparator.comparing(Name::getLastName).thenComparing(Name::getFirstName);
        Arrays.sort(copy, comp);*/
    }
}
